<?php
/**
 * File: InventoryViewModel.class.php
 * User: Mr.Cong
 * Date: 2015/1/15 0015
 * Time: 18:10
 */

namespace Admin\Model;


use Think\Model\ViewModel;

/**
 * 查询PC模版的视图模型
 *
 * Class InventoryPcViewModel
 *
 * @package Admin\Model
 */
class InventoryPcViewModel extends ViewModel{
    public $viewFields = array(
        'inventory' => array('*'),
        'pc_site' => array('*','_on'=>'inventory.inventory_id=pc_site.inventory_id'),
        'pc_site_demand'=> array('*','_on'=>'pc_site_demand.inventory_id=inventory.inventory_id')
    );
}